﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Controls;
using System.Windows;

namespace SimpleLibrary.Components
{
    class BookListItem :ListBoxItem
    {
        public BookListItem()
        {
            Padding = new Thickness(0,5,0,5);
            Height = 35;
            HorizontalContentAlignment = HorizontalAlignment.Center;
            VerticalContentAlignment = VerticalAlignment.Center;
        }
        public String ID;

        private String _name;
        public String BookName
        {
            get { return _name; }
            set
            {
                _name = value;
                Content = _name;
            }
        }
        public string Authour { get; set; }

        public string Publisher { get; set; }

        public string Year { get; set; }
    }
}